<template>
  <section>
    <h3>
      {{title}}
      <small v-if="author">{{author.name}} &copy;{{author.company}}, Inc.</small>
    </h3>
    <span>星数：{{likes}}</span>
    <p>是否发布：{{isPublished}}</p>
    <p>{{commentIds}}</p>
  </section>
</template>

<script>
export default {
  name: "BlogPost1",
  props: ["title", "likes", "isPublished", "commentIds", "author"]
};
</script>